package com.ehome.poct.base.api.constant;

public enum PackageType {
    /**软件**/
    SOFTWARE,
    /**驱动**/
    DRIVER,
    /**固件**/
    FIRMWARE;

    public static PackageType getPackageTypeEnum(Integer packageType){
        for(PackageType d :PackageType.values()){
            if (d.ordinal() == packageType) {
                return d;
            }
        }
        return null;
    }
}
